package cn.wolfcode.car.base.mapper;

import cn.wolfcode.car.base.domain.Customer;
import cn.wolfcode.car.base.query.CustomerQuery;

import java.util.List;

public interface CustomerMapper {
    /**
     *  查询一个
     * @param id
     * @return
     */
    Customer selectByPrimaryKey(Long id);

    /**
     *  查询所有
     * @param qo
     * @return
     */
    List<Customer> selectForList(CustomerQuery qo);

    void insert(Customer customer);

    void updateByPrimaryKey(Customer customer);


    /**
     * 删除
     * @param dictId
     */
    void deleteByPrimaryKey(Long dictId);
}
